package ooad.gof.composite;

public class Leaf extends Component{
	public Leaf(String name){
		super(name);
	}
	
	@Override
	public void operation() {
		System.out.println("这是对象的操作....");		
	}
	
	@Override
	public void add(Component component) {}

	@Override
	public void remove(Component component) {}

	@Override
	public void getAll() {}
}
